<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="com.educationsystem.controller.UserOnlineListener"%>
<!DOCTYPE>
<html>
<head>
<script type="text/javascript">
function changeImage()
{
document.getElementById("image").src="./ImageServletcheck?flag="+Math.random();
}
setInterval("changeImage();", 110000);
</script>
<style>
		.check {
		position: absolute;
		width:0px;
		display:none;
		}
	</style>
</head>
<img id="image" class="check" src="./ImageServletcheck" >
<div class="navbar-btn navbar-btn-right">
	<a class="btn btn-success update-pro"
		href="#downloads/klorofil-pro-bootstrap-admin-dashboard-template/?utm_source=klorofil&utm_medium=template&utm_campaign=KlorofilPro"
		title="Upgrade to Pro" target="_blank"><i class="fa fa-rocket"></i>
		<span>打开新窗口</span></a>
</div>
<div id="navbar-menu">
	<ul class="nav navbar-nav navbar-right">
		<li class="dropdown"><a href="#"
			class="dropdown-toggle icon-menu" data-toggle="dropdown"> <i
				class="lnr lnr-alarm"></i> <span class="badge bg-danger">5</span>
		</a>
			<ul class="dropdown-menu notifications">
				<li><a href="#" class="notification-item"><span
						class="dot bg-danger"></span>选题已经开始</a></li>
				<li><a href="#" class="notification-item"><span
						class="dot bg-warning"></span>您有新的通知</a></li>
				<li><a href="#" class="notification-item"><span
						class="dot bg-warning"></span>您有新的留言</a></li>
				<li><a href="#" class="notification-item"><span
						class="dot bg-success"></span>当前访问人数：${UserOnlineListener.count}</a></li>
				<li><a href="#" class="notification-item"><span
						class="dot bg-success"></span>网站访问总量：${UserOnlineListener.appcount}</a></li>
				<li><a href="https://www-new.gwng.edu.cn/" class="more">跳转学校主页</a></li>
			</ul></li>
		<li class="dropdown"><a href="#" class="dropdown-toggle"
			data-toggle="dropdown"><i class="lnr lnr-question-circle"></i> <span>帮助</span>
				<i class="icon-submenu lnr lnr-chevron-down"></i></a>
			<ul class="dropdown-menu">
				<li><a href="#">基本设置</a></li>
				<li><a href="#">使用说明</a></li>
				<li><a href="#">安全设置</a></li>
				<li><a href="#">故障反馈</a></li>
			</ul></li>
		<li class="dropdown"><a href="#" class="dropdown-toggle"
			data-toggle="dropdown"><img src="assets/img/user.png"
				class="img-circle" alt="Avatar"> <span>${login_name}</span> <i
				class="icon-submenu lnr lnr-chevron-down"></i></a>
			<ul class="dropdown-menu">
				<li><a href="/bysjxt/querySelectedByPage"><i class="lnr lnr-user"></i> <span>选题</span></a></li>
				<li><a href="/bysjxt/queryMessageByPage"><i class="lnr lnr-envelope"></i> <span>留言</span></a></li>
				<li><a href="/bysjxt/queryFileByPage"><i class="lnr lnr-cog"></i> <span>资料</span></a></li>
				<li><a href="/bysjxt/Loginout"><i class="lnr lnr-exit"></i> <span>退出登录</span></a></li>
			</ul></li>
		<!-- <li>
							<a class="update-pro" href="#downloads/klorofil-pro-bootstrap-admin-dashboard-template/?utm_source=klorofil&utm_medium=template&utm_campaign=KlorofilPro" title="Upgrade to Pro" target="_blank"><i class="fa fa-rocket"></i> <span>UPGRADE TO PRO</span></a>
						</li> -->
	</ul>
</div>